{"version":3,"sources":["image_field.js"],"names":["BX","namespace","isPlainObject","Landing","Utils","isNumber","isEmpty","isString","decodeDataValue","clone","create","fireCustomEvent","UI","Field","Image","data","Text","apply","this","arguments","dimensions","create2xByDefault","uploadParams","onValueChangeHandler","onValueChange","type","content","allowClear","input","innerText","src","hidden","input2x","createInput","src2x","layout","classList","add","compactMode","disableAltField","fileInput","createFileInput","selector","addEventListener","onFileInputChange","bind","linkInput","createLinkInput","onInputHandler","onLinkInput","dropzone","createDropzone","insertBefore","firstElementChild","onDragOver","onDragLeave","onDrop","clearButton","createClearButton","on","onClearClick","preview","createImagePreview","appendChild","style","backgroundImage","trim","onImageDragEnter","loader","Loader","target","icon","createIcon","image","createImageLayout","dataset","fileid","id","fileid2x","id2x","hiddenImage","props","className","altField","createAltField","setValue","alt","left","createLeftLayout","description","uploadButton","createUploadButton","onUploadClick","editButton","createEditButton","onEditClick","right","createRightLayout","form","createForm","enableTextOnly","window","location","toString","showDropzone","display","sourceClassList","newClassList","Panel","IconPanel","getLibraries","then","libraries","forEach","library","categories","category","items","item","split","indexOf","push","innerHTML","join","showPreview","makeAsLinkWrapper","children","url","Link","text","href","options","siteId","Main","getInstance","site_id","landingId","contentRoot","urlCheckbox","attrs","onCheckboxChange","checkbox","checked","querySelector","remove","enabled","hrefInput","header","disableLink","getValue","DOM","write","adjustPreviewBackgroundSize","uploader","ImageUploader","additionalParams","context","sizes","adjustEditButtonState","accept","name","field","placeholder","Loc","getMessage","html","for","Button","BaseButton","textOnly","method","enctype","events","submit","event","preventDefault","prototype","constructor","__proto__","superClass","onInputInput","stopPropagation","imageHidden","onFileChange","dataTransfer","files","file","showLoader","upload","hideLoader","catch","err","console","error","currentTarget","bindElement","uploadMenu","MenuManager","Date","bindOptions","forceBindPosition","onclick","onUnsplashShow","onGoogleShow","onUploadShow","onLinkShow","onPopupClose","destroy","targetContainer","parentNode","popupWindow","popupContainer","toggle","rect","pos","top","bottom","close","show","ErrorManager","action","hideSupportLink","click","showLinkField","edit","value","tmpImage","onload","hide","onInputClick","isChanged","lastValue","currentValue","JSON","stringify","img","getBoundingClientRect","position","width","height","backgroundSize","preventEvent","removeAttribute","ext","util","getRandomString","fireEvent","Event","BaseEvent","compatData","emit","Type","isStringFilled","enable","disable","reset","fileId","parseInt","fileId2x","Object","assign","ImageEditor","result","imageSrc","add_url_param","includes","Promise","reject","checkSize","resolve","objectUrl","URL","createObjectURL","revokeObjectURL","maxWidth","maxHeight","allowedSizes","isArrayFilled","setSizes","length"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBAEb,IAAIC,EAAgBF,GAAGG,QAAQC,MAAMF,cACrC,IAAIG,EAAWL,GAAGG,QAAQC,MAAMC,SAChC,IAAIC,EAAUN,GAAGG,QAAQC,MAAME,QAC/B,IAAIC,EAAWP,GAAGG,QAAQC,MAAMG,SAChC,IAAIC,EAAkBR,GAAGG,QAAQC,MAAMI,gBACvC,IAAIC,EAAQT,GAAGG,QAAQC,MAAMK,MAC7B,IAAIC,EAASV,GAAGG,QAAQC,MAAMM,OAC9B,IAAIC,EAAkBX,GAAGG,QAAQC,MAAMO,gBAUvCX,GAAGG,QAAQS,GAAGC,MAAMC,MAAQ,SAASC,GAEpCf,GAAGG,QAAQS,GAAGC,MAAMG,KAAKC,MAAMC,KAAMC,WAErCD,KAAKE,kBAAoBL,EAAKK,aAAe,SAAWL,EAAKK,WAAa,KAC1EF,KAAKG,kBAAoBN,EAAKM,oBAAsB,MACpDH,KAAKI,oBAAsBP,EAAKO,eAAiB,SAAWP,EAAKO,gBACjEJ,KAAKK,qBAAuBR,EAAKS,cAAgBT,EAAKS,cAAgB,aACtEN,KAAKO,KAAOP,KAAKQ,QAAQD,MAAQ,QACjCP,KAAKS,WAAaZ,EAAKY,WACvBT,KAAKU,MAAMC,UAAYX,KAAKQ,QAAQI,IACpCZ,KAAKU,MAAMG,OAAS,KACpBb,KAAKc,QAAUd,KAAKe,cACpBf,KAAKc,QAAQH,UAAYX,KAAKQ,QAAQ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